﻿<dxr:DXRibbonWindow xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid" 
	xmlns:dxr="http://schemas.devexpress.com/winfx/2008/xaml/ribbon" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:Custom="http://schemas.microsoft.com/winfx/2006/xaml/presentation/ribbon" xmlns:dxsch="http://schemas.devexpress.com/winfx/2008/xaml/scheduler" xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core" xmlns:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars" xmlns:dxlc="http://schemas.devexpress.com/winfx/2008/xaml/layoutcontrol" xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors" x:Class="LibraryManagemtn.UI.MainWindow"
    
	Height="{Binding Height, Source={x:Static SystemParameters.WorkArea}}" 
	Width="{Binding Width, Source={x:Static SystemParameters.WorkArea}}"
	Title="MainWindow" WindowStartupLocation="CenterScreen" Loaded="MainWindow_Loaded" WindowState="Maximized" >
    
    <Grid Height="100" VerticalAlignment="Top">
        <dxr:RibbonControl Height="152" RibbonStyle="Office2010" Margin="0,0,0,-52">
            <dxr:RibbonDefaultPageCategory Caption="defaultCategory">
                <dxr:RibbonPage Caption="Home">
                    <dxr:RibbonPageGroup Caption="Requests" SmallGlyph="{dx:DXImageOffice2013 Image=Download_16x16.png}" ShowCaptionButton="True" Glyph="{dx:DXImageOffice2013 Image=Download_32x32.png}">
                        <dxb:BarButtonItem Content="  Reservation" Glyph="{dx:DXImageOffice2013 Image=Download_16x16.png}" LargeGlyph="{dx:DXImageOffice2013 Image=Download_32x32.png}" RibbonStyle="Large"/>
                        <dxb:BarButtonItem Content="My Requests" Glyph="{dx:DXImageOffice2013 Image=ShowTestReport_16x16.png}" LargeGlyph="{dx:DXImageOffice2013 Image=ShowTestReport_32x32.png}" RibbonStyle="Large"/>
                    </dxr:RibbonPageGroup>
                    <dxr:RibbonPageGroup Caption="{x:Null}">
                        <dxb:BarButtonItem Content="Donate" Glyph="pack://application:,,,/LibraryManagement.UI;component/Images/gift-32.png" LargeGlyph="pack://application:,,,/LibraryManagement.UI;component/Images/gift-32.png"/>
                    </dxr:RibbonPageGroup>
                    <dxr:RibbonPageGroup Caption="{x:Null}" Glyph="{dx:DXImageOffice2013 Image=HistoryItem_32x32.png}">
                        <dxb:BarButtonItem Content="History" LargeGlyph="{dx:DXImageOffice2013 Image=Show_32x32.png}"/>
                    </dxr:RibbonPageGroup>
                </dxr:RibbonPage>
                <dxr:RibbonPage Caption="Dashbord">
                    <dxr:RibbonPageGroup Caption="Privacy">
                        <dxb:BarButtonItem Content="Password Wizard" RibbonStyle="Large" LargeGlyph="{dx:DXImageOffice2013 Image=Role_32x32.png}"/>
                    </dxr:RibbonPageGroup>
                    <dxr:RibbonPageGroup Caption="{x:Null}" ShowCaptionButton="True">
                        <dxb:BarButtonItem Content="Edit Profile" LargeGlyph="{dx:DXImageOffice2013 Image=Customer_32x32.png}" RibbonStyle="Large"/>
                    </dxr:RibbonPageGroup>
                </dxr:RibbonPage>
                <dxr:RibbonPage Caption="Book Locator"/>
            </dxr:RibbonDefaultPageCategory>
        </dxr:RibbonControl>
        <Grid Margin="0,152,0,-850">
            <Grid.Background>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="Black" Offset="0"/>
                    <GradientStop Color="#FF595959" Offset="1"/>
                </LinearGradientBrush>
            </Grid.Background>
            <Label x:Name="FilterLabel" Content="Filter :" HorizontalAlignment="Left" Margin="400,15,0,0" VerticalAlignment="Top" Width="45" Height="33"/>
            <dxg:GridControl AutoGenerateColumns="AddNew" EnableSmartColumnsGeneration="True" Margin="0,53,0,0">
                <dxg:GridControl.View>
                    <dxg:CardView ShowTotalSummary="True"/>
                </dxg:GridControl.View>
            </dxg:GridControl>
            
            <TextBox x:Name="Filter" 
                    Margin="438,15,438,0"
                    Height="23"
                    VerticalAlignment="Top"
                />
        </Grid>

    </Grid>
</dxr:DXRibbonWindow>
